<TagAttribute("shader_transparent_meter","smet","shdr","????",1,260)>
Public Class SHADER_TRANSPARENT_METER_TAG
Inherits HaloTag
Public Const Extension as String = "shader_transparent_meter"
Public Const FourCC as String = "smet"
Public Const ParentFourCC as String = "shdr"
Public Const GrandParentFourCC as String = "????"
Public Const [Version] as Short = 1
Public Const HeaderLength as Integer = 260

''' <summary>
''' 
''' </summary>
#Region "radiosity properties"

''' <summary>
''' 
''' </summary>
<TagField("flags", 1, 19)>
Public flags as Short

''' <summary>
''' affects the density of tesselation (high means slow).
''' </summary>
<TagField("detail level", 1, 17)>
Public detail_level as Short

''' <summary>
''' power of emitted light from 0 to infinity
''' </summary>
<TagField("power", 1, 0)>
Public power as Single

''' <summary>
''' 
''' </summary>
<TagField("color of emitted light", 3, 2)>
Public color_of_emitted_light as Single()

''' <summary>
''' light passing through this surface (if it's transparent) will be tinted this color.
''' </summary>
<TagField("tint color", 3, 2)>
Public tint_color as Single()

''' <summary>
''' 
''' </summary>
#End Region
#Region "physics properties"

''' <summary>
''' 
''' </summary>
<TagField("flags", 1, 19)>
Public flags_1 as Short

''' <summary>
''' 
''' </summary>
<TagField("material type", 1, 17)>
Public material_type as Short

''' <summary>
''' 
''' </summary>
<TagField("shader type index", 2, -1)>
Public shader_type_index as Byte()

''' <summary>
''' 
''' </summary>
<TagField("", 2, -1)>
Public padding as Byte()

''' <summary>
''' 
''' </summary>
#End Region
#Region "meter shader"

''' <summary>
''' 
''' </summary>
<TagField("flags", 1, 19)>
Public flags_2 as Short

''' <summary>
''' 
''' </summary>
<TagField("", 2, -1)>
Public padding_1 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("", 32, -1)>
Public padding_2 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("map", 16, 10)>
Public map as New TAG_REFERENCE

''' <summary>
''' 
''' </summary>
<TagField("", 32, -1)>
Public padding_3 as Byte()

''' <summary>
''' 
''' </summary>
#End Region
#Region "colors"

''' <summary>
''' 
''' </summary>
<TagField("gradient min color", 3, 2)>
Public gradient_min_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("gradient max color", 3, 2)>
Public gradient_max_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("background color", 3, 2)>
Public background_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("flash color", 3, 2)>
Public flash_color as Single()

''' <summary>
''' modulates framebuffer color unless map alpha is zero
''' </summary>
<TagField("tint color", 3, 2)>
Public tint_color_1 as Single()

''' <summary>
''' used only when 'tint mode-2' is set
''' </summary>
<TagField("meter transparency:[0,1]", 1, 0)>
Public meter_transparency as Single

''' <summary>
''' used only when 'tint mode-2' is set
''' </summary>
<TagField("background transparency:[0,1]", 1, 0)>
Public background_transparency as Single

''' <summary>
''' 
''' </summary>
<TagField("", 24, -1)>
Public padding_4 as Byte()

''' <summary>
''' 
''' </summary>
#End Region
#Region "external function sources"

''' <summary>
''' overall meter brightness (default is 1)
''' </summary>
<TagField("meter brightness source", 1, 17)>
Public meter_brightness_source as Short

''' <summary>
''' brightness of flash (default is 1)
''' </summary>
<TagField("flash brightness source", 1, 17)>
Public flash_brightness_source as Short

''' <summary>
''' position of flash leading edge (default is 1)
''' </summary>
<TagField("value source", 1, 17)>
Public value_source as Short

''' <summary>
''' high color leading edge (default is 1)
''' </summary>
<TagField("gradient source", 1, 17)>
Public gradient_source as Short

''' <summary>
''' position of flash extension leading edge (default is 1)
''' </summary>
<TagField("flash-extension source", 1, 17)>
Public flash as Short

''' <summary>
''' 
''' </summary>
<TagField("", 2, -1)>
Public padding_5 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("", 32, -1)>
Public padding_6 as Byte()
#End Region

End Class
